import { createStore } from 'vuex'

export default createStore({
  state: {
    name:''
  },
  mutations: {
    updateName(state,name){
      sessionStorage.setItem('userAddId',name)
      state.name =name
    }
  },
  actions: {
  },
  modules: {
  }
})
